package com.example.testwebrtc

import android.util.Log
import org.webrtc.SdpObserver
import org.webrtc.SessionDescription

open class SdpObserverImpl(description: String): SdpObserver {

    val des:String = description
    override fun onCreateSuccess(p0: SessionDescription?) {
        Log.e("SdpObserverImpl","$des onCreateSuccess ${p0.toString()}")
    }

    override fun onSetSuccess() {
        Log.e("SdpObserverImpl","$des onSetSuccess")
    }

    override fun onCreateFailure(p0: String?) {
        Log.e("SdpObserverImpl","$des onCreateFailure")
    }

    override fun onSetFailure(p0: String?) {
        Log.e("SdpObserverImpl","$des onSetFailure")
    }
}